package com.tie.jun.ge.xxljob.extenal;

import com.tie.jun.ge.xxljob.extenal.entity.XxlJobInfo;
import com.tiejun.ge.common.core.utils.HttpUtils;

import java.io.IOException;

/**
 * @program: springboot
 * @description: 外部接口
 * @author: getiejun
 * @create: 2025-10-19 21:12
 **/

public interface XxlExternalApl {

    String getToken() throws HttpUtils.HttpException, IOException;

    String add(XxlJobInfo xxlJobInfo);

    String update(XxlJobInfo xxlJobInfo);

    String remove(XxlJobInfo xxlJobInfo);

    String stop(XxlJobInfo xxlJobInfo);

    String start(XxlJobInfo xxlJobInfo);

    void trigger(XxlJobInfo xxlJobInfo);

}
